package com.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SpotOrder {
    @TableId(value = "id",type = IdType.AUTO)
    Long Id;//景点预约id
    Long userId; //用户id
    String spotName; //景点名
    Double ticketPrice;//门票价格
    LocalDateTime reserveTime;//预定时间


}
